package com.ly.consumer;

import com.common.security.annotation.EnableCustomConfig;
import com.common.security.annotation.EnableCustomFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableCustomConfig
@MapperScan("com.ly.consumer.mapper")
@EnableCustomFeignClients
//@Import({ZkClientConfig.class})
public class NacosConsumerApplication {


    public static void main(String[] args){
        SpringApplication.run(NacosConsumerApplication.class,args);
    }
}
